package com.udaos.models.customer;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import com.udaos.common.base.Model;
/**
* @author mutaotao
* @time   2016-11-08 14:42:56
*/
@Table("ud_customer")
public class Ud_customer extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	private String id;
	@Column
	private Integer state;
	@Column
	private String sale_code;
	@Column
	private String mobile;
	@Column
	private String name;
	@Column
	private String nickname;
	@Column
	private String password;
	@Column
	private String id_no;
	@Column
	private String sex;
	@Column
	private Integer age;
	@Column
	private String address;
	@Column
	private String headimage;
	@Column
	private String memo;
	@Column
	private String old_mobile;
	@Column
	private String createBy;
	@Column
	private Integer createAt;
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public Integer getState()
	{
		return state;
	}
	public void setState(Integer state)
	{
		this.state=state;
	}
	public String getSale_code() {
		return sale_code;
	}
	public void setSale_code(String sale_code) {
		this.sale_code = sale_code;
	}
	public String getMobile()
	{
		return mobile;
	}
	public void setMobile(String mobile)
	{
		this.mobile=mobile;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name=name;
	}
	public String getNickname()
	{
		return nickname;
	}
	public void setNickname(String nickname)
	{
		this.nickname=nickname;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password=password;
	}
	public String getId_no()
	{
		return id_no;
	}
	public void setId_no(String id_no)
	{
		this.id_no=id_no;
	}
	public String getSex()
	{
		return sex;
	}
	public void setSex(String sex)
	{
		this.sex=sex;
	}
	public Integer getAge()
	{
		return age;
	}
	public void setAge(Integer age)
	{
		this.age=age;
	}
	public String getAddress()
	{
		return address;
	}
	public void setAddress(String address)
	{
		this.address=address;
	}
	public String getHeadimage()
	{
		return headimage;
	}
	public void setHeadimage(String headimage)
	{
		this.headimage=headimage;
	}
	public String getMemo()
	{
		return memo;
	}
	public void setMemo(String memo)
	{
		this.memo=memo;
	}
	public String getOld_mobile()
	{
		return old_mobile;
	}
	public void setOld_mobile(String old_mobile)
	{
		this.old_mobile=old_mobile;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}
}